package com.weiaibenpao.demo.chislim.bean;

/**
 * Created by wlx on 2017/10/13.
 */

public class LaunchBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"userMap":{"image":"http://ofplk6att.bkt.clouddn.com/girl.png","createTime":1508291982702,"phone":"123456","sex":"女","name":"晓晓","id":35,"userId":78,"mark":0},"activityMap":{"code":"330102","distance":1536.33,"actId":"1018001","joinNumber":1,"type":8,"userId":78,"sportsEndTime":1507680061000,"avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1508291982514,"marathonTitle":"环杭州跑","sportsStartTime":1507593661000,"id":35,"provinceName":"浙江省","marathonStatus":0}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * userMap : {"image":"http://ofplk6att.bkt.clouddn.com/girl.png","createTime":1508291982702,"phone":"123456","sex":"女","name":"晓晓","id":35,"userId":78,"mark":0}
         * activityMap : {"code":"330102","distance":1536.33,"actId":"1018001","joinNumber":1,"type":8,"userId":78,"sportsEndTime":1507680061000,"avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1508291982514,"marathonTitle":"环杭州跑","sportsStartTime":1507593661000,"id":35,"provinceName":"浙江省","marathonStatus":0}
         */

        private UserMapBean userMap;
        private ActivityMapBean activityMap;

        public UserMapBean getUserMap() {
            return userMap;
        }

        public void setUserMap(UserMapBean userMap) {
            this.userMap = userMap;
        }

        public ActivityMapBean getActivityMap() {
            return activityMap;
        }

        public void setActivityMap(ActivityMapBean activityMap) {
            this.activityMap = activityMap;
        }

        public static class UserMapBean {
            /**
             * image : http://ofplk6att.bkt.clouddn.com/girl.png
             * createTime : 1508291982702
             * phone : 123456
             * sex : 女
             * name : 晓晓
             * id : 35
             * userId : 78
             * mark : 0
             */

            private String image;
            private long createTime;
            private String phone;
            private String sex;
            private String name;
            private int id;
            private int userId;
            private int mark;

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getMark() {
                return mark;
            }

            public void setMark(int mark) {
                this.mark = mark;
            }
        }

        public static class ActivityMapBean {
            /**
             * code : 330102
             * distance : 1536.33
             * actId : 1018001
             * joinNumber : 1
             * type : 8
             * userId : 78
             * sportsEndTime : 1507680061000
             * avgDistance : 5.23
             * number : 300
             * cityName : 杭州市
             * areaName : 上城区
             * createTime : 1508291982514
             * marathonTitle : 环杭州跑
             * sportsStartTime : 1507593661000
             * id : 35
             * provinceName : 浙江省
             * marathonStatus : 0
             */

            private String code;
            private double distance;
            private String actId;
            private int joinNumber;
            private int type;
            private int userId;
            private long sportsEndTime;
            private double avgDistance;
            private int number;
            private String cityName;
            private String areaName;
            private long createTime;
            private String marathonTitle;
            private long sportsStartTime;
            private int id;
            private String provinceName;
            private int marathonStatus;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }

            public String getActId() {
                return actId;
            }

            public void setActId(String actId) {
                this.actId = actId;
            }

            public int getJoinNumber() {
                return joinNumber;
            }

            public void setJoinNumber(int joinNumber) {
                this.joinNumber = joinNumber;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public long getSportsEndTime() {
                return sportsEndTime;
            }

            public void setSportsEndTime(long sportsEndTime) {
                this.sportsEndTime = sportsEndTime;
            }

            public double getAvgDistance() {
                return avgDistance;
            }

            public void setAvgDistance(double avgDistance) {
                this.avgDistance = avgDistance;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getMarathonTitle() {
                return marathonTitle;
            }

            public void setMarathonTitle(String marathonTitle) {
                this.marathonTitle = marathonTitle;
            }

            public long getSportsStartTime() {
                return sportsStartTime;
            }

            public void setSportsStartTime(long sportsStartTime) {
                this.sportsStartTime = sportsStartTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getProvinceName() {
                return provinceName;
            }

            public void setProvinceName(String provinceName) {
                this.provinceName = provinceName;
            }

            public int getMarathonStatus() {
                return marathonStatus;
            }

            public void setMarathonStatus(int marathonStatus) {
                this.marathonStatus = marathonStatus;
            }
        }
    }
}
